Cleanup

Chris Eidhof 9 years ago
parent
commit
001b5330f3
1 changed files with 1 additions and 6 deletions
  1. 1 6
      spec/models/agents/pdf_agent_spec.rb

+ 1 - 6
spec/models/agents/pdf_agent_spec.rb

@@ -11,12 +11,7 @@ describe Agents::PdfInfoAgent do
11 11
 
12 12
   describe "#receive" do
13 13
     before do
14
-
15
-      @event = Event.new
16
-      # @event.agent = agents(:website_agent)
17
-      @event.payload = {
18
-        'url' => 'http://mypdf.com',
19
-      }
14
+      @event = Event.new(payload: {'url' => 'http://mypdf.com'})
20 15
     end
21 16
 
22 17
     it "should call HyPDF" do